//
//  WBCommon.swift
//  传智微博
//
//  Created by zhoujiming on 2017/2/8.
//  Copyright © 2017年 gmcc. All rights reserved.
//

import Foundation

// 应用程序信息
let WBAppKey = "3198628360"
let WBAppSecret = "b20313c370d705b9b0a0f13b5674a6f0"
let WBRedirectURI = "https://www.baidu.com"


// 全局通知定义
// 用户需要登录通知
let WBUserShouldLogonNotification = "WBUserShouldLogonNotification"

let WBUserLogonSuccessNotification = "WBUserLogonSuccessNotification"

// MARK: - 微博配图视图常量
// 配图视图外侧的间距
let WBStatusPictureViewOutterMargin = CGFloat(12)

// 配图视图内部图像视图的间距
let WBStatusPictureViewInnerMargin = CGFloat(3)

// 屏幕的宽度
let WBStatusPictureViewWidth = UIScreen.cz_screenWidth() - 2 * WBStatusPictureViewOutterMargin

// 计算每个item的宽度
let WBStatusPictureItemWidth = (WBStatusPictureViewWidth - 2 * WBStatusPictureViewInnerMargin) / 3
